05. Quiz: Sensorless Vacuum Cleaner Problem
Sensorless Vacuum CleanerProblem
Sensorless Vacuum Cleaner Problem
QUESTION:
What is the smallest sequence of actions that will take you from a state where all you know is that your current square is clean, to a state where you know you’re in the right-hand location and the right-hand location is clean?
Use ‘L’ for left, ‘R’ for right, and ‘S’ for suck.
SOLUTION:
NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer
Sensorless Vacuum CleanerProblemSolution